package es.us.lsi.mwm.testsvn;

public class Class1 {
    private int att1;
    private String att2;
    
    public Class1() {
        super();
    }


    public void setAtt1(int att1) {
        this.att1 = att1;
    }

    public int getAtt1() {
        return att1;
    }

    public void setAtt2(String att2) {
        this.att2 = att2;
    }

    public String getAtt2() {
        return att2;
    }


    @Override
    public boolean equals(Object object) {
        if (this == object) {
            return true;
        }
        if (!(object instanceof Class1)) {
            return false;
        }
        final Class1 other = (Class1) object;
        if (att1 != other.att1) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        final int PRIME = 37;
        int result = 1;
        result = PRIME * result + att1;
        return result;
    }
}
